package com.zhangzhan.blog_service.service;

import com.zhangzhan.base.common_model.dtos.BlogLoginDto;
import com.zhangzhan.base.common_model.result.ResponseResult;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/2/2 22:27
 */
public interface BlogLoginService {
    /**
     * @description 博客前台登陆
     * @param dto
     * @return com.zhangzhan.base.common_model.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/2/2 22:28
     */
    ResponseResult login(BlogLoginDto dto);

    /**
     * @description 博客前台退出登陆
     *
     * @return com.zhangzhan.base.common_model.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/2/4 22:28
     */
    ResponseResult logout();

}
